package com.qf.common.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;

@Data
@TableName("dailywaterlog")
@ApiModel(value = "每日喝水日志")
public class DailyWaterLog {
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "主键id",hidden = true)
    private Integer id;
    @ApiModelProperty(value = "用户id",hidden = true)
    private Integer userId;
    @ApiModelProperty(value = "喝水量")
    private Integer waterNum;
    @ApiModelProperty(value = "日期",hidden = true)
    private Date createTime;
    @ApiModelProperty(value = "更新时间",hidden = true)
    private Date updateTime;

}
